package
{
	import mx.collections.ArrayCollection;
	
	public class WordLocation
	{
		public var sp:ArrayCollection = new ArrayCollection();
		public var ep:ArrayCollection = new ArrayCollection();
		public var color:ArrayCollection = new ArrayCollection();
		
		public function WordLocation()
		{
		}
		
		public function addPoint(sp:int, ep:int, color:int):void{
			this.sp.addItem(sp);
			this.ep.addItem(ep);
			this.color.addItem(color);
			trace("word추가 "+sp+", "+ep);
		}
		
		public function getSize():int{
			return sp.length;
		} 
		
		public function reset():void{
			sp.removeAll();
			ep.removeAll();
			color.removeAll();
		}

	}
}